// $Id: CharacterInfo.java 15 2010-08-30 18:26:42Z joakim.waltersson@gmail.com $
package se.waltersson.wowarmory.example;

import se.waltersson.wowarmory.ArmoryReader;
import se.waltersson.wowarmory.page.CharacterSheet;

/**
 * @author Joakim Waltersson
 * @version $Revision: 15 $ $Date: 2010-08-30 18:26:42 +0000 (Mon, 30 Aug 2010) $
 */
public class CharacterInfo {

    /**
     * @param args
     */
    public static void main(String[] args) {
        ArmoryReader armory = new ArmoryReader();
        String[] charNames = new String[] {"Grobnick", "Khalez", "Hahrkel" };
        for (String charName : charNames) {
            CharacterSheet cs = armory.getCharacterSheet("Shadowsong", charName);
            System.out.println(cs.getName() + ", Level " + cs.getCharLevel() + " "
                + cs.getRace() + " " + cs.getCharClass());
        }
    }

}
